package com.ruoyi.lxy.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 家属路线选择业务对象 t_select_dependant
 *
 * @author ruoyi
 * @date 2023-08-24
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TSelectDependantBo extends BaseEntity {

    /**
     * 家属选择表
     */
    @NotNull(message = "家属选择表不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 家属id
     */
    @NotNull(message = "家属id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long dependantId;

    /**
     * 时间段id
     */
    @NotNull(message = "时间段id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long timeId;

    /**
     * 备注
     */
    private String remark;


}
